$list: f3f5f8,
fff,
a0a5c;
@each $color in $list {
    .bg#{$color} {
        background-color: #{'#'}#{$color};
    }
    .color#{$color} {
        color: #{'#'}#{$color};
    }
}